package cn.zebra.dev.mall.module.product.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;


@Getter
@Setter
@ToString
public class ProductCommentListDTO {

    @ApiModelProperty(value = "商品评论表id")
    private Long id;

    @ApiModelProperty(value = "用户名称")
    private String memberName;

    @ApiModelProperty(value = "用户头像")
    private String memberHeadImg;

    @ApiModelProperty(value = "评价内容")
    private String content;

    @ApiModelProperty(value = "购买时商品属性值 (数组格式:[金色, 16GB])")
    private String productAttributes;

    @ApiModelProperty(value = "商品图片数组")
    private String imageUrl;

    @ApiModelProperty(value = "评价时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "追加评论内容")
    private String appendContent;

    @ApiModelProperty(value = "追加图片地址")
    private String appendImageUrl;

    @ApiModelProperty(value = "评论条数")
    private Integer count;

    @ApiModelProperty(value = "商品购买数量")
    private Long sellNum;

}
